### Function Description

Query business script version details

### Request Parameters

#### Interface parameters

| Fields        | Type   | Required | Description                                                                                                 |
|---------------|--------|----------|-------------------------------------------------------------------------------------------------------------|
| bk_scope_type | string | yes      | Resource scope type. Optional values: biz - Business，biz_set - Business Set                                 |
| bk_scope_id   | string | yes      | Resource scope ID. Corresponds to bk_scope_type, which means business ID or business set ID                 |
| bk_biz_id     | long   | yes      | Deprecated. Business ID. This field has been deprecated and replaced by the field bk_scope_type+bk_scope_id |
| id            | long   | yes      | Script version ID. If passed in, other conditions will be masked based on this condition                    |
| script_id     | string | no       | Script ID (can be passed in with version to locate a script version)                                        |
| version       | string | no       | Script version (can be passed in with script_id to locate a script version)                                 |

### Example of request

- GET

```json
/api/v3/get_script_version_detail?bk_scope_type=biz&bk_scope_id=1&id=1
```

### Example of responses

```json
{
    "result": true,
    "code": 0,
    "data": {
        "id": 1,
        "bk_scope_type": "biz",
        "bk_scope_id": "1",
        "script_id": "000dbdddc06c453baf1f2decddf00c69",
        "version": "V1.0",
        "content": "#!/bin/bash***",
        "status": 1,
        "version_desc": "版本描述",
        "creator": "admin",
        "create_time": 1600746078520,
        "last_modify_user": "admin",
        "last_modify_time": 1600746078520,
        "script_language": 1,
        "public_script": false,
        "description": "脚本描述"
    },
    "job_request_id": "xxx"
}
```

### Response Description

{% include '_generic_response.md.j2' %}

#### data

| Fields           | Type   | Never null | Description                                                                                 |
|------------------|--------|------------|---------------------------------------------------------------------------------------------|
| id               | long   | yes        | Script version ID                                                                           |
| bk_scope_type    | string | yes        | Resource scope type. Optional values: biz - Business，biz_set - Business Set                 |
| bk_scope_id      | string | yes        | Resource scope ID. Corresponds to bk_scope_type, which means business ID or business set ID |
| script_id        | string | yes        | Script ID to which the script version belongs                                               |
| version          | string | yes        | Version                                                                                     |
| content          | string | yes        | Script version content                                                                      |
| status           | int    | yes        | Script version status (0: not online, 1: Online, 2: offline, 3: Disabled)                   |
| version_desc     | string | no         | Version description                                                                         |
| creator          | string | yes        | Creator                                                                                     |
| create_time      | long   | yes        | Creation time Unix timestamp (ms)                                                           |
| last_modify_user | string | yes        | Last modify user                                                                            |
| last_modify_time | long   | yes        | Last modified time Unix timestamp (ms)                                                      |
| script_language  | int    | yes        | Script language:1 - shell, 2 - bat, 3 - perl, 4 - python, 5 - powershell, 6 - sql           |
| description      | string | no         | Description                                                                                 |
